﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/FrontPageSite.master" AutoEventWireup="true" CodeBehind="WebIntent.aspx.cs" Inherits="CRMSalesManagement.FrontPageShow.WebIntent" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div style="width:635px;font-size:12px;">
    <table style="width: 600; margin:auto auto;margin-top:20px" cellspacing="10">
             <tr>
                <td width="12%" align="right">
                    主题：
                </td>
               <td align="left">
                    <asp:TextBox ID="txtTitle" runat="server" MaxLength="20"></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtTitle" ErrorMessage="主题不能为空" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="12%" align="right" >
                    需求简述：
                </td>
               <td align="left">
                   <asp:TextBox ID="txtDementInfor" runat="server" Height="100px" TextMode="MultiLine"
                Width="82%" MaxLength="200"></asp:TextBox><font color="red">*</font>
                   <asp:Label ID="lblResult" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>           
             <tr>
                <td width="12%" align="right">
                    姓名：
                </td>
               <td align="left">
                    <asp:TextBox ID="txtName" runat="server" MaxLength="8"></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ErrorMessage="姓名不能为空" ForeColor="Red" ControlToValidate="txtName"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="12%" align="right">
                    地址：
                </td>
               <td align="left">
                    <asp:TextBox ID="txtAddress" runat="server" MaxLength="20"></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ErrorMessage="地址不能为空" ForeColor="Red" ControlToValidate="txtAddress"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td width="12%" align="right">
                  联系方式：
                </td>
               <td align="left">
                    <asp:TextBox ID="txtContact" runat="server" MaxLength="20" Height="17px"></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="联系方式不能为空" ControlToValidate="txtContact" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td width="12%" align="right">
                    验证码：
                </td>
                <td align="left">
                    <asp:TextBox ID="txtCode" runat="server" Width="140px" MaxLength="4"></asp:TextBox>
                    <font color="red">*</font> 
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/FrontPageShow/checkcode.aspx" alt="看不清？点击更换"
                        onclick="this.src=this.src+'?'" Height="21px" Width="79px" />
                    (点击更换验证码)
                    <asp:Label ID="lbCode" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
             <tr>
                <td width="12%" align="right">
                   
                </td>
               <td align="left">
                   <asp:Button ID="btnPutIn" runat="server" Text="提交" Width="66px" 
                       onclick="btnPutIn_Click" />
                    &nbsp;<asp:Button ID="btnCancel" runat="server" Text="重写"
                        CausesValidation="False" Width="66px" onclick="btnCancel_Click" />
                    &nbsp;</td>
            </tr>
        </table>
</div>
</asp:Content>
